package com.danceforyou.order.model;

import com.danceforyou.common.model.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 类名称：OrderCourseDO
 * 创建人：danceforyou
 * 创建时间：2021年02月04日
 * 版本号：1.0v
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderCourseDO extends BaseDO<Long> {

    /*排期ID（引用yw_order表主键）*/
    private Long orderId;
    /*客户ID（引用yw_customer表主键）*/
    private Long customerId;
    /*媒体ID（引用yw_medium表主键）*/
    private Long mediumId;
    /*执行价*/
    private BigDecimal quotedPrice;
    /*成本价*/
    private BigDecimal costPrice;
    /*客户税点*/
    private Integer customerPoint;
    /*客户税额*/
    private BigDecimal customerTax;
    /*号主税点*/
    private Integer mediumPoint;
    /*号主税额*/
    private BigDecimal mediumTax;
    /*客户返点*/
    private BigDecimal customerRebates;
    /*号主返点*/
    private BigDecimal mediumRebates;
    /*利润*/
    private BigDecimal profit;
    /*利润率*/
    private BigDecimal profitRate;
    /*投放日期*/
    private Date putDate;
    /*投放位置*/
    private String putAddress;
    /*是否垫付*/
    private Boolean isAdvance;
    /*操作人*/
    private Long operUserId;
    /*操作时间*/
    private Date operDate;
    /*是否删除*/
    private Boolean isDelete;
}